﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-10-16
Description:SenderMoney三层结构业务逻辑层
=============================================================================
*/
using System;
using System.Collections.Generic;
using System.Text;
using FTchina.DAL;
using FTchina.Models;
namespace FTchina.BLL
{
	public static partial class SenderMoneyManager
	{
		public static int AddSenderMoney(SenderMoney senderMoney)
		{
			return SenderMoneyService.AddSenderMoney(senderMoney);
		}
		public static int DeleteSenderMoneyByid(long id)
		{
			return SenderMoneyService.DeleteSenderMoneyById(id);
		}
		
		public static int ModifySenderMoneyByid(SenderMoney senderMoney)
		{
			return SenderMoneyService.ModifySenderMoneyByid(senderMoney);
		}
		
		
		public static IList<SenderMoney> GetAllSenderMoneys()
		{
			return SenderMoneyService.GetAllSenderMoneys();
		}
		public static SenderMoney GetSenderMoneyByid(long id)
		{
			return SenderMoneyService.GetSenderMoneyByid(id);
		}
		//分页查询 curragePage当前页NUMCount每页条数
		public static IList<SenderMoney> ShowSenderMoneyForPage(int curragePage,int NUMCount)
		{
			return 	SenderMoneyService.ShowSenderMoneyForPage(curragePage,NUMCount);
		}
	}
}
